﻿Imports System.ComponentModel

<Serializable()> _
Public Class TwitterAccount
    Implements INotifyPropertyChanged

    Private m_LoginID As String
    Public Property UserName() As String
        Get
            Return m_LoginID
        End Get
        Set(ByVal value As String)
            m_LoginID = value
            RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs("LoginID"))
        End Set
    End Property

    Private m_Password As String
    Public Property Password() As String
        Get
            Return m_Password
        End Get
        Set(ByVal value As String)
            m_Password = value
            RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs("Password"))
        End Set
    End Property

    Private m_IsSelected As Boolean
    Public Property IsSelected() As Boolean
        Get
            Return m_IsSelected
        End Get
        Set(ByVal value As Boolean)
            m_IsSelected = value
        End Set
    End Property

    Public Event PropertyChanged(ByVal sender As Object, ByVal e As System.ComponentModel.PropertyChangedEventArgs) Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged
End Class
